<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="initial-scale=1, user-scalable=0, minimal-ui" charset="UTF-8">
		<title></title>
		<link rel="stylesheet" href="css/index.css" />
		<link rel="stylesheet" href="css/swiper.css" />
		<link rel="stylesheet" href="css/mint.css">
		<link rel="stylesheet" href="css/mint-style.css">
		 <script src="js/vue_resource.js"></script>
	</head>
		<script src="js/serverUrl.js"></script>
		<script src="js/vue.js"></script>
		<script src="js/mint.js"></script>
		<script src="js/moment.js"></script>

		<style type="text/css">
			
			.userInfoContainer{
				display: flex;
				flex-direction: row;
				width: 100vw;
				background: white;
				padding-top: 8px;
				padding-bottom: 8px;
				align-items: center;
                border-top: 1px solid #f0f0f0;
			}
			.label{
                width:36vw;
				font-size: 4vw;
                margin-left:5vw;
			}
			.contentLabel{
				width:50vw;
				font-size: 4vw;
				border-radius: 5px;
				border: 0px;
				padding: 8px;
			}
			
			input::-webkit-input-placeholder{
				color:#5591da;
			}
			input::-moz-placeholder{   /* Mozilla Firefox 19+ */
				color:#5591da;
			}
			input:-moz-placeholder{    /* Mozilla Firefox 4 to 18 */
				color:#5591da;
			}
			input:-ms-input-placeholder{  /* Internet Explorer 10-11 */ 
				color:#5591da;
			}
		</style>
	<body style="background-color: #ffffff;">
		<div id="app" style="background-color: #ffffff;">
			<div class="userInfoContainer">
				<div class="label">用户名</div>
                <div class="contentLabel" >{{userInfo.userName}}</div>
			</div>
		
			<div class="userInfoContainer">
				<div class="label">账号</div>
                <div class="contentLabel" >{{userInfo.userMobile}}</div>
			</div>
			
			<div class="userInfoContainer">
				<div class="label">职称</div>
				<div class="contentLabel" >{{userInfo.jobLevel}}</div>
				
			</div>
			
			<div class="userInfoContainer">
				<div class="label">岗位/职务</div>
				<div class="contentLabel" >{{userInfo.job}}</div>
			</div>
			<div class="userInfoContainer">
				<div class="label">手机号</div>
				<div class="contentLabel" >{{userInfo.mobile}}</div>
			</div>
			<div class="userInfoContainer">
				<div class="label">邮箱</div>
				<div class="contentLabel" >{{userInfo.mail}}</div>
			</div>
			<div class="userInfoContainer">
				<div class="label">身份证号</div>
				<div class="contentLabel" >{{userInfo.code}}</div>
			</div>
			<div class="userInfoContainer">
				<div class="label">民族</div>
				<div class="contentLabel">{{userInfo.nation}}</div>
			</div>
			<div class="userInfoContainer">
				<div class="label">出生日期</div>
				<div class="contentLabel"  >{{ userInfo.birthDay| formatTime}}</div>
			</div>
			<div class="userInfoContainer">
				<div class="label">政治面貌</div>
				<div  class="contentLabel">{{userInfo.politic}}</div>
			</div>
			<div class="userInfoContainer">
				<div class="label">最高学历</div>
				<div  class="contentLabel" >{{userInfo.education}}</div>
			</div>
			<div class="userInfoContainer">
				<div class="label">毕业院校</div>
				<div  class="contentLabel" >{{userInfo.school}}</div>
				
			</div>
			<div class="userInfoContainer">
				<div class="label">所学专业</div>
				<div  class="contentLabel" >{{userInfo.specialty}}</div>
				
			</div>
			
		</div>
	</body>

	<script type="text/javascript">
		var app = new Vue({
		  el: '#app',
		  data(){
			  return {
				userInfo: {
				},
			  }

		  },
		  filters:{
			  formatTime (val) {
                if(val == null) {
                    return ""
                }
				return moment(val).format("YYYY年MM月DD日")
			  }
		  },
		  created() {
              window.getUserInfo = this.getUserInfo
		  },
		  methods:{
              getUserInfo(userInfo) {
                  this.userInfo = userInfo
              },

		  }
		})		
		</script>
            <script src="js/picker.js"></script>
</html>
